package com.yeban.javase.day01;

/**
 * @Desc TODO
 * @Author yeban
 * @Date 2025/10/9
 */
public class PersonMain {

    public static void main(String[] args) {
        Person s1 = new Person();
        //对象.成员属性
        s1.setName("张同学");
        s1.setAge(22);
        s1.setSex("男");
        //对象.成员方法
        s1.study();

        Person s2 = new Person("陈同学",21,"非");
        s2.study();
    }
}
